projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45145c8
)
GtkSwitch: Also animate for keyboard activation
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 4 Aug 2014 11:56:39 +0000
(13:56 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 4 Aug 2014 12:36:41 +0000
(14:36 +0200)
gtk/gtkswitch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkswitch.c
b/gtk/gtkswitch.c
index 44435582ffec465b1d3d9e623d870a835e5309c3..915dc3899fb4e23e467611fde871001504f63c4b 100644
(file)
--- a/
gtk/gtkswitch.c
+++ b/
gtk/gtkswitch.c
@@
-363,9
+363,7
@@
gtk_switch_leave (GtkWidget *widget,
static void
gtk_switch_activate (GtkSwitch *sw)
{
- GtkSwitchPrivate *priv = sw->priv;
-
- gtk_switch_set_active (sw, !priv->is_active);
+ gtk_switch_begin_toggle_animation (sw);
}
static void